<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增物理性质')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-physics-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">样本id：</label>
                <div class="col-sm-8">
                    <input name="sIdi" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">过滤：</label>
                <div class="col-sm-8">
                    <input name="filter" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">团聚体：</label>
                <div class="col-sm-8">
                    <input name="aggregate" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">孔隙度：</label>
                <div class="col-sm-8">
                    <input name="porosity" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">渗透系数：</label>
                <div class="col-sm-8">
                    <input name="osmosis" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">贯穿阻力：</label>
                <div class="col-sm-8">
                    <input name="resistance" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">深度(cm)：</label>
                <div class="col-sm-8">
                    <input name="depth" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">结构稳定性：</label>
                <div class="col-sm-8">
                    <input name="stability" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">质地：</label>
                <div class="col-sm-8">
                    <input name="quality" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">容重：</label>
                <div class="col-sm-8">
                    <input name="weight" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">田间持水量：</label>
                <div class="col-sm-8">
                    <input name="water" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">TP(g/kg)：</label>
                <div class="col-sm-8">
                    <input name="tp" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/physics"
        $("#form-physics-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-physics-add').serialize());
            }
        }
    </script>
</body>
</html>